package com.peanut.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.peanut.domain.bo.TabInfoBO;
import com.peanut.domain.po.TabInfoPO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 张涛
* @description 针对表【tab_info】的数据库操作Service
* @createDate 2022-05-25 19:57:47
*/
public interface TabInfoService extends IService<TabInfoPO> {

    int addInfo(TabInfoBO bo,Long specId);

    Page<TabInfoPO> findAll(Integer pageNumber, Integer pageSize);

    int updateInfo(TabInfoBO bo);

    int deleteInfo(Long infoId);

    List<TabInfoPO> getCatId(Long catId);
}
